$f: 19.2;

.home {
  position: relative;
  width: 100%;
  overflow: hidden;
  .topbg {
    position: absolute;
    right: 0;
    top: 98/$f+vw;
    z-index: -1;

    img {
      width: 658/$f+vw;
      display: block;
    }
  }

  .cbg {
    position: absolute;
    left: 0;
    top: 26%;
    z-index: -1;
    img {
      width: 208/$f+vw;
      display: block;
    }
  }

  .common_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: auto;
    border: 0;
    box-shadow: none;
    height: 56/$f+vw;
    line-height: 56/$f+vw;
    padding: 0 2vw 0 76/$f+vw;
    cursor: pointer;
    position: relative;
    &:before {
      content: "";
      display: block;
      width: 56/$f+vw;
      height: 56/$f+vw;
      border-radius: 3.5vw;
      left: 0;
      top: 0;
      bottom: 0;
      transform: scale(1);
      background-color: #2A746E;
      transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    &:before {
      position: absolute;
      background-color: #2A746E;
      right: 0;
    }
    .dot {
      position: absolute;
      overflow: hidden;
      background-color: transparent;
      left: .28vw;
      top: 50%;
      width: 45/$f+vw;
      height: 45/$f+vw;
      transform: translateY(-50%) translateX(0) scale(1);
      box-shadow: 0 0 0 1px #F6EFE2;
      transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-block;
      border-radius: 100%;
      will-change: transform;
      &:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 1;
        transform: translateX(0);
        background-image: url(../images/whi.svg);
        background-size: 50% auto;
        transition: all .7s var(--expoOut);
        will-change: transform;
        background-position: center;
        background-repeat: no-repeat;
      }
    }
    .text {
      position: relative;
      color: #2A746E;
      transform: translateX(0);
      transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
      font-size: 20/$f+vw;
      font-style: normal;
      font-weight: 700;
      text-transform: uppercase;
    }
    &:hover{
      &:before{
        width: 100%;
        transform: scale(.9);
        transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .dot {
        background-color: #F6EFE2;
        transform: translateY(-50%) translateX(.5vw) scale(.2);
        transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        &:before {
          opacity: .0001;
          transform: translateX(100%);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        }
      }
      .text {
        color: #fff;
        transform: translateX(-1vw);
        transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
      }

    }
  }

  .section1{
    padding: 151/$f+vw 200/$f+vw 0 200/$f+vw;
    .tlink{
      display: flex;
      a,p{
        color: #333;
        font-size: 16/$f+vw;
      }
    }
    .content{
      display: flex;
      margin: 33/$f+vw 0 80/$f+vw 0;
      align-items: center;
      .l{
        display: flex;
        align-items:flex-end;
        .pic{
          img{
            width: 600/$f+vw;
            border-radius: 30/$f+vw;
          }
        }
        .xg{
          margin-left: 40/$f+vw;
          img{
            width: 283/$f+vw;
            border-radius: 30/$f+vw;
          }
        }
        img{
          transition: all 600ms;
          &:hover{
            transform: scale(1.05);
          }
        }
      }
      .r{
        margin-left: 78/$f+vw;
        .p1{
          color: #203D3B;
          font-size: 64/$f+vw;
        }
        .p2 {
          margin: 30/$f+vw 0 45/$f+vw 0;
          color: #FFF;
          font-size: 24/$f+vw;
          width: fit-content;
          border-radius: 66/$f+vw;
          padding: 10/$f+vw 25/$f+vw;
          background: #2A746E;
        }
        .info{
          .i1{
            display: flex;
            align-items: center;
            margin-top: 25/$f+vw;
            .pt{
              color: #000;
              font-size: 24/$f+vw;
            }
            .tags{
              display: flex;
              margin-left: 20/$f+vw;
              p {
                padding: 10/$f+vw 25/$f+vw;
                border-radius: 66/$f+vw;
                background: #2A746E;
                color: #FFF;
                font-size: 24/$f+vw;
                font-family: 'PINGFANG-MEDIUM';
                width: fit-content;
                margin-right: 10/$f+vw;
              }
            }
          }
        }
      }
    }
  }


  .section2{
    margin: 0 200/$f+vw;
    table{
      border-radius: 20/$f+vw;
      background: rgba(242,242,242,1);
      tbody{
        text-align: center;
        td{
          font-size: 20/$f+vw;
          padding: 15/$f+vw 0;
          text-transform: capitalize;
        }
        tr:nth-child(1){
          background-color: white;
          td:nth-child(1){
            border-top-left-radius:20/$f+vw;
          }
          td:last-child{
            border-top-right-radius: 20/$f+vw;
          }
        }
      }
    }
  }

  .section3{
    margin: 80/$f+vw 200/$f+vw 109/$f+vw 200/$f+vw  ;
    display: flex;
    justify-content: space-between;
    gap: 158/$f+vw;
    align-items: center;
    .item{
      width: 50%;
      .pic{
        img{
          transition: all 600ms;
          max-width: 100%;
          object-fit: contain;
          border-radius: 30/$f+vw;
        }
      }
      p{
        color: #000;
        font-size: 24/$f+vw;
        margin: 43/$f+vw 0;
        text-align: center;
      }
      &:hover{
        .pic{
          img{
            transform: scale(1.05);
          }
        }
      }
    }
  }
  .section4{
    .common_button {
      margin: 30/$f+vw auto 0;
      display: flex;
      width: fit-content;
    }
     margin: 0 200/$f+vw 80/$f+vw;
     .t{
      color: #203D3B;
      font-size: 80/$f+vw;
      text-transform: capitalize;
      margin-bottom: 62/$f+vw;
     }
     .pros{
      position: relative;
      .swiper-container{
        width: 100%;
        .swiper-slide{
          .pic{
            text-align: center;
            img{
             width: 100%;
              transition: all 600ms;
              transform-origin: center;
              border-radius: 30/$f+vw;
            }
          }
          p{
            color: #000;
            font-size: 24/$f+vw;
            text-align: center;
            margin-top: 34/$f+vw;
            transition: all 600ms;
          }
          &:hover{
            .pic{
              img{
                transform: scale(0.95);
              }
            }
            p{
              color:#2A746E;
            }
          }
        }
       }
       .prev{
        position: absolute;
        left: -80/$f+vw;
        top:40%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        img{
          width: 56/$f+vw;
          display: block;
        }
       }
       .next{
        position: absolute;
        right: -80/$f+vw;
        top:40%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        img{
          width: 56/$f+vw;
          display: block;
        }
       }
     }

  }


  .section_bg {
    padding: 80/$f+vw 200/$f+vw 106/$f+vw 200/$f+vw;
    background: url(../images/contact_bg.png) no-repeat;
    background-size: cover;
    color: white;

    .p1 {
      font-size: 80/$f+vw;
      line-height: 1.5;
    }

    .des {
      font-size: 24/$f+vw;
      line-height: 1.5;
      font-family: 'PINGFANG-MEDIUM';
      margin: 20/$f+vw 0 50/$f+vw 0;
    }
    .button {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      width: auto;
      border: 0;
      box-shadow: none;
      height: 56/$f+vw;
      line-height: 56/$f+vw;
      padding: 0 2vw 0 76/$f+vw;
      cursor: pointer;
      position: relative;
      &:before {
        content: "";
        display: block;
        width: 56/$f+vw;
        height: 56/$f+vw;
        border-radius: 3.5vw;
        left: 0;
        top: 0;
        bottom: 0;
        transform: scale(1);
        background-color: #2A746E;
        transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
      }
      &:before {
        position: absolute;
        background-color: #2A746E;
        right: 0;
      }
      .dot {
        position: absolute;
        overflow: hidden;
        background-color: transparent;
        left: .28vw;
        top: 50%;
        width: 45/$f+vw;
        height: 45/$f+vw;
        transform: translateY(-50%) translateX(0) scale(1);
        box-shadow: 0 0 0 1px #F6EFE2;
        transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
        display: inline-block;
        border-radius: 100%;
        will-change: transform;
        &:before {
          content: "";
          position: absolute;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0;
          opacity: 1;
          transform: translateX(0);
          background-image: url(../images/whi.svg);
          background-size: 50% auto;
          transition: all .7s var(--expoOut);
          will-change: transform;
          background-position: center;
          background-repeat: no-repeat;
        }
      }
      .text {
        position: relative;
        color: #fff;
        transform: translateX(0);
        transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
        font-size: 20/$f+vw;
        font-style: normal;
        font-weight: 700;
        text-transform: uppercase;
      }
      &:hover{
        &:before{
          width: 100%;
          transform: scale(.9);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .dot {
          background-color: #F6EFE2;
          transform: translateY(-50%) translateX(.5vw) scale(.2);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
          &:before {
            opacity: .0001;
            transform: translateX(100%);
            transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
          }
        }
        .text {
          color: #fff;
          transform: translateX(-1vw);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        }

      }
    }
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;


    .common_button{
      height: 60px;
      padding: 0 35px 0 79px;
      margin: auto;
      &:before{
        width: 60px;
        height: 60px;
        border-radius: 50%;
      }
      .dot{
        width: 44px;
        height: 44px;
        left: 8px;
      }
      .text{
        font-size: 16px;
      }
      &:hover{
        padding: 0 35px 0 58px;
        &:before{
          border-radius: 35px;
        }
      }
    }

    .cbg{
      img{
        width: 100px;
      }
    }
    .section1{
      padding: 30px 5%;
      .tlink{
        a,p{
          font-size: 16px;
        }
      }
      .content{
        margin: 20px 0 40px 0;
        flex-direction: column;
        .l{
          width: 100%;
          flex-direction: column;
          align-items: flex-start;
          .pic{
            img{
              width: 100%;
              border-radius: 30px;
            }
          }
          .xg{
            margin-top: 20px;
            img{
              width:auto;
              border-radius: 30px;
              max-width: 60%;
            }
          }
        }
        .r{
          width: 100%;
          margin-top: 20px;
          .p1{
            font-size: 32px;
          }
          .p2{
            margin: 10px 0 20px 0;
            font-size: 18px;
            padding: 5px 10px;
            border-radius: 30px;
          }
          .info{
            .i1{
              margin-top: 10px;
              .pt{
                font-size: 18px;
              }
              .tags{
                margin-left: 10px;
                p{
                  padding: 5px 10px;
                  border-radius: 30px;
                  font-size: 18px;
                  margin-right: 10px;
                }
              }
            }
          }
        }
      }
    }
    .section2{
      margin: 0 5%;
      overflow-x: scroll;
      table{
        width: 800px !important;
        tbody{
          td{
            font-size: 16px;
          }
        }
      }
    }
    .section3{
      margin: 40px 5%;
      .item{
        p{
          font-size: 16px;
        }
      }
    }
    .section4{
      margin: 0 5% 30px;
      .t{
        font-size: 24px;
        margin-bottom: 30px;
      }
      .pros{
        .prev,.next{
          img{
            width: 35px;
          }
        }
        .swiper-container{
          .swiper-slide{
            a{
              .name{
                font-size: 16px;
                margin-top: 15px;
              }
            }
          }
        }
      }
    }
    .section_bg{
      padding: 40px 5%;
      .p1{
        font-size: 32px;
      }
      .des{
        font-size: 18px;
        margin: 10px 0 20px 0;
      }
      .button{
        height: 60px;
        padding: 0 35px 0 79px;
        &:before{
          width: 60px;
          height: 60px;
          border-radius: 50%;
        }
        .dot{
          width: 44px;
          height: 44px;
          left: 8px;
        }
        .text{
          font-size: 16px;
        }
        &:hover{
          padding: 0 35px 0 58px;
          &:before{
            border-radius: 35px;
          }
        }
      }
    }

  }
}